AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

Updating UT apps: More to do lists and some errors

uhome4.jpg

Now that I am done with updating the 199 Ubuntu Touch apps from Xenial to Focal, I am waiting 7 days for a response from each developer, and then releasing the clicks on the open-store. You can check out the progress table below, but I'm really close to closing out this project.

Last time I talked about sed, and I showed this example of how to automatically rename the various parts within the project to my name space so I can post it on the open store. Here was my example:

find . -type f -name '*' -exec sed -i 's/de.djfun.akari/akari.alaskalinuxuser/g' {} \; -ls

In the example command above, I converted the akari app to my name space so I can upload it on the open-store. This saves me from reading through all the qml, json, yaml, cpp, and cmake files to find where the app is named and converts it to my name in seconds. While this was super useful, I did have an error regarding it today. After updating an app, when I went to upload the changes with git to my repository, I got this error:

$ git add . fatal: unexpected diff status A

It took me a while to figure out what was wrong, but while I was running this against the files within my downloaded copy of the repo, it was also running against files in the .git folder, and actually twice messed things up (twice as in two different apps I was working on). So, in the future, I decided to use it more judiciously with -name '*.qml' or .json, .cpp, etc. That still allows me to work quickly, but doesn't write something in the .git folder. If I was smarter, there probably is a way around that, from the command line.

Lots of clicks added to the store this week, including Chatter, Cooking Calculator, Moments, MyPeople, and To Do List. If you want to follow along with my journey, here is a little table of my progress:

Apps Numbers
Released on Open-Store 65
Pending release 18
Cannot Update 115
Remaining 0
Total 199
Percentage complete 100%
Percentage Success 41.9%
Percentage Failed 58.1%

Linux - keep it simple.